package com.zhoujian.Adapter.ClassAdapter;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        List<Target> targets = List.of(
                new ClassAdapter()//,new ClassAdapterTwo(),将两个类进行适配
        );
        for (Target target: targets){
            target.request();
        }
    }
}
